package bb.lanxing.lib.kt

/* compiled from: ByteExt.kt */
/*@Metadata(
    d1 = ["\u0000\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\u0010\b\n\u0002\b\u0003\u001a\u0012\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0002\u001a\u0012\u0010\u0004\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0002¨\u0006\u0005"],
    d2 = ["bit2Boolean", "", "", "bit", "bit2Int", "lib-devices-api_release"],
    k = 2,
    mv = [1, 7, 1],
    xi = 48
)*/
object ByteExtKt {
    @JvmStatic
    fun bit2Boolean(i: Int, i2: Int): Boolean {
        return i ushr i2 and 1 != 0
    }

    fun bit2Int(i: Int, i2: Int): Int {
        return i ushr i2 and 1
    }
}
